﻿@using System.Web.UI.WebControls
@using PNProject
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Phương Nam</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Css/style.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Css/style-banner.css")" rel="stylesheet" type="text/css" />
    @*<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>*@
    <script src="http://code.jquery.com/jquery-1.9.0.js" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.easing.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/danhmuc-menu-jquery.js")" ></script>
    <!--tab-->
    <script type="text/javascript" src="@Url.Content("~/Scripts/jqueryTab.js")"></script>
    <!--zoom-->
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui.min.js")"></script>
    <!--zoom-->
    <script type="text/javascript" src="@Url.Content("~/Scripts/cloud-zoom.1.0.2.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.nivo.slider.pack.js")"></script>
    <!--sn-->
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.jcarousel.min.js")"></script>
    <!--sn-->
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.jcarousel.min_call.js")"></script>
    <script type="text/javascript">
        $(window).load(function () {
            //alert($(location).attr('href'));
            var pathName = $(location).attr('pathname');
            $("#liProductAndServices").css("background-color", "");
            if (pathName.indexOf("Products") !== -1)                
            {
                $("#breadSub").text('@Html.Raw(this.LocalResources("ProductAndServices"))');
               // $("#breadSub").attr("href", "/Products");
                $("#liProductAndServices").css("background-color", "cornflowerblue");
                $("#liProductAndServices a.current").attr("href", "/Products");
            }
            if (pathName.indexOf("Intro") !== -1) {
                $("#breadSub").text('@this.LocalResources("Introduction")');
               // $("#breadSub").attr("href","/Intro");
            }
            if (pathName.indexOf("News") !== -1) {
                $("#breadSub").text('@Html.Raw(this.LocalResources("NewsAndEvent"))');
               // $("#breadSub").attr("href", "/News");
            }
            if (pathName.indexOf("Articles") !== -1) {
                $("#breadSub").text('@this.LocalResources("Articles")');
                //$("#breadSub").attr("href", "/Articles");
            }
            if (pathName.indexOf("qa") !== -1) {
                $("#breadSub").text('@Html.Raw(this.LocalResources("QuestionAndAnwer"))');
               // $("#breadSub").attr("href", "/qa");
            }
            if (pathName.indexOf("Libraries") !== -1) {
                $("#breadSub").text('@this.LocalResources("Library")');
                //$("#breadSub").attr("href", "/Libraries");
            }
            if (pathName.indexOf("Contact") !== -1) {
                $("#breadSub").text('@Html.Raw(this.LocalResources("Contact"))');
               // $("#breadSub").attr("href", "/Contact");
            }
        });
    </script>
</head>
<body>
    <section id="header" class="index">
        @Html.Partial("_Header")
        @Html.Partial("_MainMenu")
    </section>
     <section class="indexcontent">
    	<div class="content">
        	<div class="ulink">
                <ul>
                    <li id="ulink_home"><a href="/"></a></li>
                    <li><p>&raquo;</p></li>
                    <li id="ulink_child"><a href="#"></a></li>
                </ul>
            </div>
            <div class="titlesub">
            	<p>Tin tức</p>
            </div>
            <div class="maincontent">
            	<div class="leftcontent">
                	<div class="boxleft">
                    	<div class="ttboxleft"><p>@this.LocalResources("CatalogProduct")</p></div>
                        <div class="ccboxleft">
                            <div class="productMenu">
                                 @Html.Action("SubmenuProductAndServices1","Products")
                            </div>
                        </div>
                    </div>
                    @Html.Action("LeftBottom","Home")
                </div>
                <div class="rightcontent">
                     @RenderBody()
                   
                </div>
        	</div>
        </div>
    </section>

    <section id="footer">
       @Html.Partial("_Footer")
    </section>
</body>
</html>
